﻿using Microsoft.AspNetCore.Mvc;
using VM.Entity.EntityMap.User;

namespace VM.IBLL.Token
{
    public interface ITokenBLL : IBaseBLL
    {

        /// <summary>
        /// 获取新的Jwt
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        public IActionResult generateNewAccessToken(CheckUser obj, CheckUserInfoResult checkResult);


        /// <summary>
        /// 更新RefreshToken
        /// </summary>
        /// <param name="PublicKey"></param>
        /// <returns></returns>
        public bool UpdateRefreshToken(string RefreshKey);


    }
}